package com.java.test;

import com.java.pojo.*;
import com.java.service.*;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.util.Random;

public class T2 {
    @Test
    public void s(){
//        ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
//        Maker3Service makerService1 = context.getBean("makerService1", Maker3Service.class);
//        Page<Maker3> pageByPage0 = makerService1.getPageByPage0(1, "");
//        System.out.println(pageByPage0);
        int min = 1;
        int max = 5;

        Random random = new Random();

        int value = random.nextInt(max + min) + min;
        System.out.println(value);


    }
}
